package cn.hqc.basic.cons;


/**
 * 微信登录常量
 */
public class WechatCons {

    // APPID
    public static final String APPID = "wxd853562a0548a7d0";

    // secret
    public static final String SECRET = "4a5d5615f93f24bdba2ba8534642dbb6";

    // 第二个接口 根据code获取token
    public static final String SECOND_URL = "https://api.weixin.qq.com/sns/oauth2/access_token?appid=%s&secret=%s&code=%s&grant_type=authorization_code";

    // 第三个接口 根据token和openId 获取用户信息数据
    public static final String THIRD_URL = "https://api.weixin.qq.com/sns/userinfo?access_token=%s&openid=%s";

}



